//
//  Prefix.swift
//  swift各类控件集锦
//
//  Created by iosdev1 on 2016/12/29.
//  Copyright © 2016年 zyy. All rights reserved.
//

import Foundation
import UIKit
//相当于oc的prefix，宏定义
let WIDTH_SCREEN = UIScreen.main.bounds.size.width
let HEIGHT_SCREEN = UIScreen.main.bounds.size.height

let M_PI:CGFloat = 3.1415926

let NAVBAR_CHANGE_POINT = 50


//字体大小设置
func FONT(s:CGFloat) -> UIFont {
    return UIFont.systemFont(ofSize: s)
}


		
#if DEBUG
    func echo(data:Any) -> Void {
        print("\(data)")
    }
#else
    func echo(data:Any) -> Void {
        
    }
#endif
